body,html{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}
@font-face {
    font-family: "HYShangWeiShouShuW";
    src: url(../font/HYShangWeiShouShuW.ttf);
}
@font-face {
    font-family: "Alibaba";
    src: url(../font/Alibaba-PuHuiTi-Regular.ttf);
}

@font-face {
    font-family: 'FZFengYKSJF';
    src: url('../font/FZFengYKSJF_Cu.TTF');
}
.main{
    position: relative;
    background-image: url(../res/tokei/background.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    perspective:150;
    -webkit-perspective:500;
}

.title{
    color: white;
    font-family: "HYShangWeiShouShuW";
    font-size: 2.5vh;
    padding-bottom: 1vh;
    padding-left: 2vh;
    position: relative;
    left: -100vw;
}
.titlemove{
    left: 0vw;
    transition:2.5s 0.3s ease-in-out;
}

.clock{
    position: relative;
    display: flex;
    width: 100vw;
    height: 50vh;
    background-color: #e1ffd3;
    justify-content: center;
    align-items: center;
    transform-origin: top;
    /* transform: rotateX(-60deg); */
}
.clockrot{
    transform: rotateX(-16deg);
    animation: clock 2.5s ease-in-out forwards;
}
@keyframes clock{
    0%{
        transform: rotateX(16deg);
    }
    10%{
        transform: rotateX(-8deg);
    }
    25%{
        transform: rotateX(8deg);
    }
    40%{
        transform: rotateX(-4deg);
    }
    55%{
        transform: rotateX(4deg);
    }
    70%{
        transform: rotateX(-2deg);
    }
    85%{
        transform: rotateX(2deg);
    }
    100%{
        transform: rotateX(0deg);
    }
}
#hari{
    display: block;
    height: 8vh;
    z-index: 3;
}
.mawaru{
    animation: mawaru 2s linear infinite;
}
@keyframes mawaru{
    0%{
        transform: rotate(0deg);
    }
    100%{
        transform: rotate(360deg);
    }
}
#clockouter{
    height: 45vh;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-48%,-51%);
    z-index: 1;
}
#thesix{
    height: 25vh;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-48%,-48%);
    z-index: 2;
}
.message{
    width: 85vw;
    margin: 2vh auto 0;
    padding:1vh;
    background-color: #386c1a;
    color: white;
    font-size: 1.8vh;
    font-family: "FZFengYKSJF";
    opacity: 0;
    position: relative;
}
.repeat{
    position: absolute;
    z-index: 100;
    top: 85vh;
    left: 50vw;
    transform: translate(-50%,-50%);
    color: #5d7e63;
    font-size: 4vh;
    font-family: 'FZFengYKSJF';
    font-weight: bolder;
    background-color: #f8f6f3;
    border: 5px ridge bisque;
    border-radius: 3px;
}
.cover{
    position: absolute;
    z-index: 90;
    height: 100vh;
    width: 100vw;
    background-color: black;
    opacity: 0;
}


.back {
    /* display: flex; */
    height: 50px;
    width: 50px;
    position: absolute;
    top: 0vh;
    left: 0vw;
    z-index: 1001;
    transition: .6s;
}
.back img{
    height: 50px;
    width: 50px;
}
.backon {
    transform: rotate(-180deg);
}
.backmenu {
    background-color: white;
    border-radius: 10px;
    opacity: .8;
    position: absolute;
    top: 4vh;
    left:-100px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transform: scale(0.8);
}
.backmenu div{
    margin: 20px 10px;
    display: flex;
}
.backmenu div img{
    width: 40px;
    height: 40px;
}
.backmenu div span{
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
}


.next{
    font-size: 4vh;
    line-height: 5vh;
    text-align: center;
    height: 5vh;
    width: 15vh;
    /* background-color: cyan; */
    /* float: right; */
    position: absolute;
    right: 0;
    /* bottom: 2vh; */
    bottom: -6vh;
    color: white;
    font-family: "HYShangWeiShouShuW";
}